﻿namespace Com.PhilChuang.Pmvp.Model.Services.Impl
{
	public class TrialModeService : ITrialModeService
	{
		public TrialModeService ()
		{
#if IS_TRIAL
			IsTrial = true;
#elif IS_FULL_VERSION
			IsTrial = false;
#else
			IsTrial = new Microsoft.Phone.Marketplace.LicenseInformation ().IsTrial ();
#endif

		}

		public void Dispose ()
		{
			// does nothing
		}

		public bool IsTrial { get; private set; }
	}
}
